﻿<Window x:Class="Com.CodePlex.SPC3.ProfileImageUpload.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:toolkit1="http://schemas.microsoft.com/wpf/2008/toolkit"
		xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" 
		WindowStartupLocation="CenterScreen"
        Title="Profile Image Upload (Com.CodePlex.SPC3)" Height="544" Width="609" xmlns:my="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" Closing="Window_Closing">
    <Grid Height="464" Width="583">
		<Label Content="My Site Host Url" Height="28" HorizontalAlignment="Left" Margin="12,30,0,0" Name="label1" VerticalAlignment="Top" Width="127" />
		<Button Content="Browse" Height="23" HorizontalAlignment="Left" Margin="160,133,0,0" Name="btnBrowse" VerticalAlignment="Top" Width="75" Click="btnBrowse_Click" />
		<TextBox Height="28" HorizontalAlignment="Left" Margin="241,132,0,0" Name="txtSourceDirectory" VerticalAlignment="Top" Width="317" />
		<toolkit:AutoCompleteBox HorizontalAlignment="Left" Margin="160,30,0,0" Name="txtSiteUrl" VerticalAlignment="Top" Width="398" ToolTip="Enter the something" Populating="txtSiteUrl_Populating" Height="28" />
		<Label Content="Username" Height="28" HorizontalAlignment="Left" Margin="12,64,0,0" Name="label2" VerticalAlignment="Top" />
		<Label Content="Password" Height="28" HorizontalAlignment="Left" Margin="12,98,0,0" Name="label3" VerticalAlignment="Top" />
		<TextBox Height="28" HorizontalAlignment="Left" Margin="160,64,0,0" Name="txtUsername" VerticalAlignment="Top" Width="169" />
		<PasswordBox Height="28" HorizontalAlignment="Left" Margin="160,98,0,0" Name="txtPassword" VerticalAlignment="Top" Width="169" />
		<Label Content="Import directory" Height="28" HorizontalAlignment="Left" Margin="12,132,0,0" Name="label4" VerticalAlignment="Top" />
		<Button Content="Upload" Height="23" HorizontalAlignment="Left" Margin="392,429,0,0" Name="btnUpload" VerticalAlignment="Top" Width="75" Click="btnUpload_Click" />
		<Button Content="Exit" Height="23" HorizontalAlignment="Left" Margin="483,429,0,0" Name="btnExit" VerticalAlignment="Top" Width="75" Click="btnExit_Click" />
		<RichTextBox Height="213" HorizontalAlignment="Left" Margin="12,0,0,41" Name="txtMessage" VerticalAlignment="Bottom" Width="546" ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Visible" >
			<RichTextBox.Resources>
				<Style TargetType="{x:Type Paragraph}">
					<Setter Property="Margin" Value="0"/>
				</Style>
			</RichTextBox.Resources>
		</RichTextBox>
		<Label Content="Filename format (Regex)" Height="28" HorizontalAlignment="Left" Margin="12,166,0,0" Name="label5" VerticalAlignment="Top" />
		<TextBox Height="28" HorizontalAlignment="Left" Margin="160,166,0,0" Name="txtFilenameFormat" VerticalAlignment="Top" Width="169" />
		<Label Content="eg: (\w+)__(\w+)" Height="28" HorizontalAlignment="Left" Margin="345,166,0,0" Name="label6" VerticalAlignment="Top" />
        <ComboBox Height="27" HorizontalAlignment="Right" Margin="0,65,65,0" Name="ddlAuthType" VerticalAlignment="Top" Width="92" DataContext="{Binding}" ItemsSource="{Binding}">
            <ComboBoxItem Content="NTLM" />
            <ComboBoxItem Content="TMG:BASIC" />
        </ComboBox>
        <Label Content="Auth Type" Height="28" HorizontalAlignment="Left" Margin="345,65,0,0" Name="label7" VerticalAlignment="Top" />
    </Grid>
</Window>
